import request from "@/utils/request";
// 订单-查询列表
export function listPost_order(query) {
  return request({
    url: "/manager/order/list",
    method: "get",
    params: query,
  });
}
// 查询订单详细
export function getPost_order(postId) {
  return request({
    url: "/manager/order/" + postId,
    method: "get",
  });
}

// 新增订单
export function addPost_remark(data) {
  return request({
    url: "/manager/order/remark",
    method: "post",
    data: data,
  });
}
// 新增订单备注
export function addPost_order(data) {
  return request({
    url: "/manager/order",
    method: "post",
    data: data,
  });
}
// 修改订单
export function updatePost_order(data) {
  return request({
    url: "/manager/order",
    method: "put",
    data: data,
  });
}

// 删除订单
export function delPost_order(postId) {
  return request({
    url: "/manager/order/" + postId,
    method: "delete",
  });
}
